import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import APP from "@/App.vue"
import ElementPlus from 'element-plus'
import router from './router'
import 'element-plus/dist/index.css' // 必须导入
import { Button } from 'vant'
import 'vant/lib/index.css';
import { Field, CellGroup, Cell, Checkbox, CheckboxGroup ,Popup, Picker, Col, Row, Icon  } from 'vant';

const app = createApp(APP)

app.use(Field);
app.use(CellGroup);
app.use(Button)
app.use(Cell)
app.use(Checkbox);
app.use(CheckboxGroup);
app.use(Popup);
app.use(Picker)
app.use(Col)
app.use(Row)
app.use(Icon)

app.use(createPinia())
app.use(ElementPlus)

app.use(router)
app.mount('#app')